<?php
/**
 * Newss View for Render Component

 */

// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

jimport( 'joomla.application.component.view' );


class RendersViewNewss extends JView
{
	/**
	 * Newss view display method
	 * @return void
	 **/
	function display($tpl = null)
	{
		JToolBarHelper::title(   JText::_( 'News Manager' ), 'generic.png' );
		JToolBarHelper::deleteList();
		JToolBarHelper::editListX();
		JToolBarHelper::addNewX();

                
		// Get data from the model
		$items		= & $this->get( 'Data');
                $pagination =& $this->get('Pagination');

                //push data into the template
                $this->assignRef('items',$items);
                $this->assignRef('pagination', $pagination);
                /*
                 * Pagination Joomla
                 * Author: Mr Frank
                 *
                 */


		parent::display($tpl);
	}
}